package com.njtoyo.taxi.admin.mapper.secondary.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DataIncomeType {
    ride(1, "行程订单"),
    cancellation(2, "空驶费"),
    street(3, "街边收款"),
    scan(4, "扫码"),

    infoservice(5, "信息服务费"),

    free_infoservice(6, "免佣金");

    @EnumValue
    private final int code;
    private final String desc;

    DataIncomeType(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
